package comday07.itheima01;

public class Demo04 {
    public static void main(String[] args) {


        //创建对象
        Student s = new Student();
        Student s2 = new Student();

        //赋值
        s.name = "马冬梅";
        s.sex = "女";
        s.age = 32;

        s2.name = "石原里美";
        s2.sex = "女";
        s2.age = 28;

        System.out.println("ta的姓名是" + s.name + "ta的年龄是" + s.age);
        System.out.println("ta的姓名是" + s2.name + "ta的年龄是" + s2.age);


    }
}
